package com.ysx.oa.delay.dao;

import com.ysx.oa.delay.bean.DelayBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.BaseMapper;

import java.util.List;

@Mapper
public interface DelayDao extends BaseMapper<DelayBean> {


    Integer getDelayRecordCount(List<DelayBean> delayBean);

    int addDelayRecord(List<DelayBean> delayBean);

    int updateDelayRecord(@Param("delayBean") DelayBean delayBean,@Param("newDelayDate") String newDelayDate);

    int deleteDelayRecord(DelayBean delayBean);

    List<DelayBean> findDelayRecord(DelayBean delayBean);

}
